\hypertarget{classParser}{\section{Parser Class Reference}
\label{classParser}\index{Parser@{Parser}}
}


{\ttfamily \#include $<$parser.\-h$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classParser_a12234f6cd36b61af4b50c94a179422c1}{Parser} ()
\item 
void \hyperlink{classParser_a5bc172479b672351fd55899b96da876c}{set\-\_\-equation} (string \hyperlink{classParser_af96c47edd3de0f1ade919a5f126ed104}{equation})
\item 
string \hyperlink{classParser_af96c47edd3de0f1ade919a5f126ed104}{equation} ()
\item 
\hyperlink{classCoefficient}{Coefficient} \hyperlink{classParser_af2b0dd699fef1445112ed6986d3efdea}{Get\-Result} ()
\item 
vector$<$ pair$<$ string, \\*
\hyperlink{classCoefficient}{Coefficient} $>$ $>$ \hyperlink{classParser_a6ecbe1fe1a7a4c6e486e5e0c831ce191}{Get\-Left\-Coefficients} ()
\end{DoxyCompactItemize}


\subsection{Detailed Description}
This class is used to parse input equations into linear systems. 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{classParser_a12234f6cd36b61af4b50c94a179422c1}{\index{Parser@{Parser}!Parser@{Parser}}
\index{Parser@{Parser}!Parser@{Parser}}
\subsubsection[{Parser}]{\setlength{\rightskip}{0pt plus 5cm}Parser\-::\-Parser (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classParser_a12234f6cd36b61af4b50c94a179422c1}
Simple constructor. 

\subsection{Member Function Documentation}
\hypertarget{classParser_af96c47edd3de0f1ade919a5f126ed104}{\index{Parser@{Parser}!equation@{equation}}
\index{equation@{equation}!Parser@{Parser}}
\subsubsection[{equation}]{\setlength{\rightskip}{0pt plus 5cm}string Parser\-::equation (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classParser_af96c47edd3de0f1ade919a5f126ed104}
equation getter. \begin{DoxyReturn}{Returns}
the value of the equation the object holds. 
\end{DoxyReturn}
\hypertarget{classParser_a6ecbe1fe1a7a4c6e486e5e0c831ce191}{\index{Parser@{Parser}!Get\-Left\-Coefficients@{Get\-Left\-Coefficients}}
\index{Get\-Left\-Coefficients@{Get\-Left\-Coefficients}!Parser@{Parser}}
\subsubsection[{Get\-Left\-Coefficients}]{\setlength{\rightskip}{0pt plus 5cm}vector$<$ pair$<$ string, {\bf Coefficient} $>$ $>$ Parser\-::\-Get\-Left\-Coefficients (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classParser_a6ecbe1fe1a7a4c6e486e5e0c831ce191}
Get variables with its respective coefficients. \begin{DoxyReturn}{Returns}
a vector with the pairs $<$variable\-\_\-name, \hyperlink{classCoefficient}{Coefficient}$>$. 
\end{DoxyReturn}
\hypertarget{classParser_af2b0dd699fef1445112ed6986d3efdea}{\index{Parser@{Parser}!Get\-Result@{Get\-Result}}
\index{Get\-Result@{Get\-Result}!Parser@{Parser}}
\subsubsection[{Get\-Result}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Coefficient} Parser\-::\-Get\-Result (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classParser_af2b0dd699fef1445112ed6986d3efdea}
Get value of the result of the equation. \begin{DoxyReturn}{Returns}
a \hyperlink{classCoefficient}{Coefficient} of the right side of the equation. 
\end{DoxyReturn}
\hypertarget{classParser_a5bc172479b672351fd55899b96da876c}{\index{Parser@{Parser}!set\-\_\-equation@{set\-\_\-equation}}
\index{set\-\_\-equation@{set\-\_\-equation}!Parser@{Parser}}
\subsubsection[{set\-\_\-equation}]{\setlength{\rightskip}{0pt plus 5cm}void Parser\-::set\-\_\-equation (
\begin{DoxyParamCaption}
\item[{string}]{equation}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classParser_a5bc172479b672351fd55899b96da876c}
equation setter. 
\begin{DoxyParams}{Parameters}
{\em equation} & the string containing the equation to parse. \\
\hline
\end{DoxyParams}


The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
parser.\-h\item 
parser.\-cpp\end{DoxyCompactItemize}
